home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
glass
/
glass.lha
/
GLASS
/
libcvr
/
fscsym.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-11-09
|
311b
|
21 lines
/* File: fscsym.c */
#include "all.h"
#include "cvr.h"
int fscan_symbol( f, s )
FILE *f;
symbol *s;
{
char *symstr;
if( fscan_string( f, &symstr ) ){
*s = addsymbol( "<error>" );
fre_string( symstr );
return( 1 );
}
*s = addsymbol( symstr );
fre_string( symstr );
return( 0 );
}